<?php

namespace app\admin\controller;

use app\common\controller\AdminBaseController;

class PowerController extends AdminBaseController
{
    protected function initialize()
    {
        parent::initialize();
        $this->server = model('server.auth_apis');
    }

    public function getApisListOp()
    {
        $responseData['meta'] = ['code' => 1, 'msg' => lang('GET_SUCCESS')];
        $responseData['data'] = $this->server->getList('');

        return $responseData;
    }
}
